export const ACCESS_TOKEN = 'Access-Token'
export const USER_NAME = 'login_username'
export const USER_INFO = 'login_user_info'
export function getDynamicRoute(){
  //动态添加路由
  let FlowDetail = 'views/flow/FlowDetail'
  let MyTaskDetail = 'views/flow/MyTaskDetail'
  let menu = [
    {
      name: 'flowDetail',
      path: '/main/flowDetail',
      component: resolve => require(['@/' + FlowDetail + '.vue'], resolve),
      meta: {keepAlive: false}
    },
    {
      name: 'myTaskDetail',
      path: '/main/myTaskDetail',
      component: resolve => require(['@/' + MyTaskDetail + '.vue'], resolve),
      meta: {keepAlive: false}
    }
  ]
  return menu
}

/**公司位置 经度*/
export const COMPANY_LNG = 116.32719;
/**公司位置 维度*/
export const COMPANY_LAT = 40.07459;
/**高德地图 key*/
export const AMAP_KEY = '71c332d99112c257c94684348ac30d37';


const STORAGE_OPTIONS = {
  namespace: 'pro__', // key prefix
    name: 'ls', // name variable Vue.[ls] or this.[$ls],
    storage: 'local', // storage name session, local, memory
}

export default STORAGE_OPTIONS;


